import { Component } from 'react';
// import ReactDOM from 'react-dom';
// import requestAnimationFrame from 'raf';

export default class Transition extends Component {
	constructor(props){
		super(props);
		const { children } = props;
		this.state = {
			children: children 
		}
		console.log(children);
	}
	
	componentWillReceiveProps(nextProps){
		
	}
	
	componentDidUpdate(preProps){
		
	}
	
	render(){
		return this.state.children || null;
	}
	
}